package com.demo03.conn;

public class PoolTest2{
    public static void main(String[] args) {
        AbstractPoolTest abstractPoolTest = new AbstractPoolTest() {
            @Override
            public void transact() {
                if (conn != null) {
                    System.out.println("我得到了一个连接");
                }
            }
        };
        abstractPoolTest.process();
    }
}
